import dayjs from 'dayjs'
function formatDate(date){
    return dayjs(date).format('MM月DD日')
}


function getDiffDays(startDate, endDate) {
    return dayjs(endDate).diff(startDate, "day")
  }

export {formatDate,getDiffDays}